package cmd

import (
	"oc_contributor_chenliangzhu/pkg/logging"

	"github.com/spf13/cobra"
)

var VersionCmd = CreateVersionCmd()

func CreateVersionCmd() *cobra.Command {
	var versionCmd = &cobra.Command{
		Use:   "version",
		Short: "显示gopack工具版本信息",
		Run: func(cmd *cobra.Command, args []string) {
			logging.Print("v1")
		},
	}
	return versionCmd
}